package com.dongwu.common.constants;

/**
 * 腾讯业务常量
 * 
 * @author xyj
 *
 */
public class TencentIMConstants {

	// --------------------------------------------------------------------//
	// TODO ---------------------- IM常量------------------------------------//
	// --------------------------------------------------------------------//
	/**
	 * 获取登录的账号和sig
	 */
	public static final String GETIMLOGIN = "获取登录的账号和sig";
	/**
	 * 设备mac地址
	 */
	public static final String MACADDR_ONE = "设备mac地址";
	/**
	 * 批量获取设备在线状态
	 */
	public static final String UPDATE_USER_STATE = "更新用户登录状态";
	/**
	 * 批量获取设备在线状态
	 */
	public static final String USER_STATE = "用户状态(0：在线，1：下线)";
	/**
	 * 批量设备mac地址
	 */
	public static final String MACADDR_LIST = "批量设备mac地址";
	/**
	 * jni路径
	 */
	public static final String JNIPATH = "/usr/local/supergrid/tencentIMkey/jnisigcheck.so";
	/**
	 * IM私钥路径
	 */
	public static final String PRIKEYFILE = "/usr/local/supergrid/tencentIMkey/ec_key.pem";
	/**
	 * IM公钥路径
	 */
	public static final String PUBKEYFILE = "/usr/local/supergrid/tencentIMkey/public.pem";
	/**
	 * IM sdkAppid
	 */
	public static final String SDKAPPID = "1400052988";
	/**
	 * IM 管理员账号
	 */
	public static final String ACCOUNT_IDENTIFIER = "root";
	/**
	 * IM 账号导入接口
	 */
	public static final String ACCOUNT_IMPORT = "v4/im_open_login_svc/account_import";
	/**
	 * IM 单发单聊消息
	 */
	public static final String SENDMSG = "v4/openim/sendmsg";
	/**
	 * IM 批量发单聊消息
	 */
	public static final String BATCHSENDMSG = "v4/openim/batchsendmsg";
	/**
	 * IM 获取用户在线状态
	 */
	public static final String QUEERYSTATE = "v4/openim/querystate";
	
	// --------------------------------------------------------------------//
	// TODO ------------------------- 微信常量--------------------------------//
	// --------------------------------------------------------------------//
	/**
	 * 微信公众号appid
	 */
	public static final String WEIXINAPPID = "wx5d42f25aa276aeb3";
	/**
	 * 微信公众号开发者密钥
	 */
	public static final String WEIXINSECRET = "1c85576baf96121b4123c74292cf0694";
	/**
	 * 微信商家ID
	 */
	public static final String WEIXINBUSSINESID = "1328753901";
	/**
	 * 微信商家后台api安全秘钥
	 */
	public static final String WEIXINBUSSINESKEY = "dwdwdw88888888666666dwdwdw888888";
	/**
	 * Linux下证书文件路径
	 */
	public static final String WEIXINCERTIFIICATEFORLINUX = "/usr/local/supergrid/WeiXinCertificate";

	// --------------------------------------------------------------------//
	// TODO ---------------------- 微信红包api常量-----------------------------//
	// --------------------------------------------------------------------//
	/**
	 * 微信红包api常量
	 */
	public static final String WEIXINREDPACKURL = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack";

	// --------------------------------------------------------------------//
	// TODO ---------------- 微信网页授权认证获取accesstokeenurl-------------------//
	// --------------------------------------------------------------------//

	/**
	 * 微信网页授权认证获取accesstoken的url
	 */
	public static final String WEIXINOAUTHGETTOKENURL = "https://api.weixin.qq.com/sns/oauth2/access_token";
	
	/**
	 * 微信网页授权获取code的Url
	 */
	public static final String WEIXINOAUTHGETCODEURL = "https://open.weixin.qq.com/connect/oauth2/authorize";
	
	/**
	 * 微信网页授权重定向接口名
	 */
	public static final String WEIXINOAUTHREDIRECTAPI = "/IMapi/getAuthorizationPage";
	
	/**
	 *微信企业付款api常量
	 */
	public static final String WEIXINTRANSFERS = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";

	/**
	 * 获取用户信息
	 */
	public static final String GETUSERINFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";

}
